package com.litchi.tutor.common.cons;

/**
 * @author hoby
 * @since 2021-08-19
 */
public class RedisKey {

    /**
     * 用户token前缀
     */
    public static final String USER_TOKEN_PRE = "auth:token:user:";

    /**
     * 管理员token前缀
     */
    public static final String ADMIN_TOKEN_PRE = "auth:token:admin:";

    /**
     * 第一个{}替换为手机号，第二个{}替换为发送目的
     */
    public static final String AUTH_CODE = "auth:code:{}:{}";

    /**
     * 验证码流水号前缀
     */
    public static final String AUTH_CODE_APPLY_SERIAL_PRE = "auth:uuid:";

    /**
     * 微信access_token
     */
    public static final String WEIXIN_ACCESS_TOKEN = "weixin_access_token";

    /**
     * 行政区划region_list
     */
    public static final String REGION_LIST = "region_list_info";

    /**
     * 行政区划region_tree
     */
    public static final String REGION_TREE = "region_tree_info";

    /**
     * 高校列表
     */
    public static final String COLLEGE_LIST = "college_list";
}
